class CreateSalidaMateriales < ActiveRecord::Migration
  def self.up
    create_table :salida_materiales do |t|
      t.column :ejecutivo_id, :integer
      t.column :centro_id, :integer
      t.column :observaciones, :text
      t.column :importe, :decimal, :precision => 12, :scale => 2
      t.column :created_at, :datetime
    end
  end

  def self.down
    drop_table :salida_materiales
  end
end
